package com.kai.service.data.request.problem;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ProblemOperatorRecordRequest {
    /**
     * 操作者id
     */
    @NotNull(message = "操作者不能为空")
    private Long operatorId;

    /**
     * type为PROBLEM则为问题id，REPLY为问题回复id
     */
    @NotNull(message = "类型id不能为空")
    private Integer referenceId;

    /**
     * PROBLEM-问题，REPLY-回复
     */
    @NotBlank(message = "类型不能为空")
    private String type;

    /**
     * 操作类别 LIKE-赞
     */
    @NotBlank(message = "类别不能为空")
    private String category;
}
